home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / minrec.zip / MAKEFILE < prev    next >
Text File  |  1993-04-30  |  2KB  |  57 lines

  1. #  ************************************************************************
  2. #
  3. #                       Microsoft Developer Support
  4. #              Copyright (c) 1992, 1993 Microsoft Corporation
  5. #
  6. #  ************************************************************************
  7. #  MAKEFILE  : MinRec
  8. #  PURPOSE   : A Small Win32 Sample Application Makefile
  9. #  COMMENTS  :
  10. #
  11. #  ************************************************************************
  12.  
  13. # Nmake macros for building Win32 applications
  14. !include <ntwin32.mak>
  15.  
  16. # macro defines
  17. PROJ=MinRec
  18.  
  19. # target list
  20. all: MinRec.exe RecHook.Dll
  21.  
  22. # Update the resource if necessary
  23. MinRec.res: MinRec.rc MinRec.dlg MinRec.ico MinRec.h
  24.     $(rc) $(rcvars) -r -fo MinRec.res MinRec.rc
  25.     $(cvtres) -$(CPU) MinRec.res -o MinRec.rbj
  26.  
  27. # Update the object file(s) if necessary
  28. MinRec.obj: MinRec.c MinRec.h
  29.     $(cc) $(cdebug) $(cflags) $(cvars) MinRec.c
  30.  
  31. RecHook.Obj: RecHook.C RecHook.H MinRec.H
  32.     $(cc) $(cdebug) $(cflags) $(cvars) RecHook.C
  33.  
  34. # Update the import library
  35. RecHook.Lib: RecHook.Obj RecHook.Def
  36.     $(implib)\
  37.     -machine:$(CPU)\
  38.     -def:RecHook.Def\
  39.     -out:RecHook.Lib
  40.  
  41. # Update the dynamic link library
  42. RecHook.Dll: RecHook.Obj RecHook.Lib
  43.     $(link) $(ldebug) $(guilflags)\
  44.     -base:0x1C000000\
  45.     -dll\
  46.     -entry:DllEntryPoint$(DLLENTRY)\
  47.     -out:RecHook.Dll\
  48.     RecHook.Obj RecHook.Exp\
  49.     $(guilibs)
  50.  
  51. # Update the Executable file if necessary.
  52. MinRec.exe: MinRec.obj MinRec.res MinRec.def RecHook.Lib
  53.     $(link) $(ldebug) $(guilflags)\
  54.       -out:MinRec.exe\
  55.       MinRec.obj MinRec.rbj RecHook.Lib\
  56.       $(guilibs)
  57.